<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php echo $this->_var['siteinfo']['title']; ?>-<?php echo $this->_var['city']; ?>分站</title>
<link rel="alternate" title="订阅更新" type="application/rss+xml" />
<link rel="stylesheet" href="<?php echo $this->_var['siteinfo']['tempath']; ?>inc/meituan.css"
	type="text/css" media="screen" charset="utf-8" />

<script src="<?php echo $this->_var['siteinfo']['tempath']; ?>inc/js/jquery.js" type="text/javascript"></script>

<meta name="description" content="<?php echo $this->_var['city']; ?>分站-<?php echo $this->_var['siteinfo']['discretion']; ?>" />
<meta name="keywords" content="<?php echo $this->_var['city']; ?>分站-<?php echo $this->_var['siteinfo']['keywords']; ?>" />
</head>
<body class="bg-alt bg-newbie">
<div id="hdw">
<div id="hd"><?php echo $this->fetch('head.htm'); ?></div>
</div>
<div id="bdw" class="bdw">
<DIV class=cf id=bd>
<DIV id=coupons>
<DIV class=coupons-box id=content><?php echo $this->fetch('uc_menu.htm'); ?>

<DIV class="box clear">
<DIV class=box-top></DIV>
<DIV class=box-content>
<DIV class=head>
<H2>我的团购券</H2>
<UL class=filter>
	<LI class=label>分类:</LI>
	<!-- <?php if ($_GET['stat'] == 'unuse'): ?> -->
	<LI class="current"><!--<?php else: ?>-->
	<li><!-- <?php endif; ?> --><A href="?action=coupons&stat=unuse">未使用</A></LI>
	<!-- <?php if ($_GET['stat'] == 'use'): ?> -->
	<LI class="current"><!--<?php else: ?>-->
	<li><!-- <?php endif; ?> --><A href="?action=coupons&stat=use">已使用</A></LI>
	<!-- <?php if ($_GET['stat'] == 'unover'): ?> -->
	<LI class="current"><!--<?php else: ?>-->
	<li><!-- <?php endif; ?> --><A href="?action=coupons&stat=unover">即将到期</A></LI>
	<!-- <?php if ($_GET['stat'] == 'over'): ?> -->
	<LI class="current"><!--<?php else: ?>-->
	<li><!-- <?php endif; ?> --><A href="?action=coupons&stat=over">已过期</A></LI>
	<!-- <?php if ($_GET['stat'] == ''): ?> -->
	<LI class="current"><!--<?php else: ?>-->
	<li><!-- <?php endif; ?> --><A href="?action=coupons">所有</A></LI>
</UL>
</DIV>
<DIV class=sect>
<DIV class=notice>
<TABLE class=coupons-table id=order-list cellSpacing=0 cellPadding=0
	border=0>
	<TBODY>
		<!--  <?php if ($this->_var['senslist']): ?> -->
		<TR>
			<TH width=auto>团购卷编号</TH>
			<TH width=100>商品数量</TH>
			<TH width=100>对应商品</TH>
			<TH width=100>操作</TH>
		</TR>

		<!-- <?php $_from = $this->_var['senslist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');$this->_foreach['senslist'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['senslist']['total'] > 0):
    foreach ($_from AS $this->_var['item']):
        $this->_foreach['senslist']['iteration']++;
?> -->
		<TR class=alt>
			<TD class=deal width=auto><?php echo $this->_var['item']['serial']; ?></TD>
			<TD width=100><?php echo $this->_var['item']['num']; ?></TD>
			<TD width=100><?php echo $this->_var['item']['gname']; ?></TD>
			<TD class=op width=100><!-- <?php if ($this->_var['item']['isuse'] == 'N'): ?> --> <!-- <?php if ($this->_var['item']['isover']): ?> -->
			<a href="?action=print&id=<?php echo $this->_var['item']['id']; ?>" >打印</a>			
			<a href="?action=sendmsg&id=<?php echo $this->_var['item']['id']; ?>" >发送到手机</a>
			 <!-- <?php else: ?> --> <SPAN
				class=unpay> 该团购券已过期</SPAN> <!-- <?php endif; ?> --> <!-- <?php else: ?> --> <SPAN
				class=unpay> 该团购券已使用</SPAN> <!-- <?php endif; ?> --></TD>
		</TR>
		<!-- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> -->

		<!-- <?php else: ?> -->
		<tr>
			<td>暂无团购卷</td>
		</tr>
		<!-- <?php endif; ?> -->
	</TBODY>
</TABLE>

<!-- 
<input type="button" name="sendmsg" value="发送优惠券" onclick="javascript:window.location.href='?action=sendmsg';"  />
 --></DIV>




</DIV>
</DIV>
<DIV class=box-bottom></DIV>
</DIV>
</DIV>
<DIV id=sidebar>
<DIV class="sbox side-help">
<DIV class=sbox-top></DIV>
<DIV class=sbox-content>
<DIV class=side-tip>
<H3 class=first>什么是团购券？</H3>
<P>团购券是当团购成功后，您以手机短信方式获取，或者自行下载打印使用的消费凭证（其中包含唯一优惠密码）。</P>
<H3>如何使用团购券？</H3>
<P>当您去消费时，出示该短信或者打印的美团券即可。打印版团购券上通常还包含更详细的使用说明。</P>
</DIV>
</DIV>
<DIV class=sbox-bottom></DIV>
</DIV>
</DIV>
</DIV>
</DIV>
<!-- bd end --></DIV>
<!-- bdw end -->

<?php echo $this->fetch('foot.htm'); ?>


<!-- doc end -->

</body>
</html>
